home *** CD-ROM | disk | FTP | other *** search
- menu channel {
- &IRCop Coms
- .&OPER:oper $$?="Nickname/Code" $$?="Password"
- .&Omode:omode #$$?="Channel" $$?="Please enter mode ( - mode too)"
- .&SAmode:samode #$$?="Channel" $$?="Please enter mode ( - mode too)"
- .&Trace:trace $$?="Servername"
- .&Wallops:wall $?="Enter wallop message"
- .&Kill:kill $$?="Nick to be killed" $$?="Reason For Kill"
- .&Mass Kill:mkill $$?="Host/Address to kill:" $?="Reason for kill:"
- .&Nick Kline:kline $$?="Nickname" $$?="Reason for Kline"
- .&Address Kline:kline add $$?="Address" $$?="Reason for Kline"
- .&GlobOps:globops $$?="GlobOps Message"
- .-
- .&Server Coms
- ..&Rehash Server:rehash
- ..&Restart Server:restart
- ..&Server Quit:squit $$?="ServerName" $$?="Reason"
- ..&Connect Server:connect $?="Server Not on the net" $$?="Port"
- ..&Remote Connect:connect $?="Server not on the net" $$?="Port" $$?="Server on the net"
- .&Globals
- ..&Global Notice:global $$?="Notice"
- ..&Global Message:globmsg $$?="Message"
- ..&Global Action:globme $$?="Action"
- .&Host Globals
- ..&Global Notice:ghost $$?="Host (eg. *.ix.netcom.com)" $$?="Notice"
- ..&Global Message:ghostm $$?="Host (eg. *.ix.netcom.com)" $$?="Message"
- ..&Global Action:ghostme $$?="Host (eg. *.ix.netcom.com)" $$?="Action"
- }
- menu status {
- &IRCop Coms
- .&OPER:oper $$?="Nickname/Code" $$?="Password"
- .&Omode:omode #$$?="Channel" $$?="Please enter mode ( - mode too)"
- .&SAmode:samode #$$?="Channel" $$?="Please enter mode ( - mode too)"
- .&Trace:trace $$?="Servername"
- .&Wallops:wall $?="Enter wallop message"
- .&Kill:kill $$?="Nick to be killed" $$?="Reason For Kill"
- .&Mass Kill:mkill $$?="Host/Address to kill:" $?="Reason for kill:"
- .&Nick Kline:kline $$?="Nickname" $$?="Reason for Kline"
- .&Address Kline:kline add $$?="Address" $$?="Reason for Kline"
- .&GlobOps:globops $$?="GlobOps Message"
- .-
- .&Server Coms
- ..&Rehash Server:rehash
- ..&Restart Server:restart
- ..&Server Quit:squit $$?="ServerName" $$?="Reason"
- ..&Connect Server:connect $?="Server Not on the net" $$?="Port"
- ..&Remote Connect:connect $?="Server not on the net" $$?="Port" $$?="Server on the net"
- .&Globals
- ..&Global Notice:global $$?="Notice"
- ..&Global Message:globmsg $$?="Message"
- ..&Global Action:globme $$?="Action"
- .&Host Globals
- ..&Global Notice:ghost $$?="Host (eg. *.ix.netcom.com)" $$?="Notice"
- ..&Global Message:ghostm $$?="Host (eg. *.ix.netcom.com)" $$?="Message"
- ..&Global Action:ghostme $$?="Host (eg. *.ix.netcom.com)" $$?="Action"
- }
- menu nicklist {
- &IRCop Coms
- .&Kill:kill $$1 $$?="Reason For Kill"
- .&Mass Kill:mkill $address( $$1 , [ $$?="Address level: (eg. 2)" ] )
- .-
- .&Nick Kline:kline $$1 $$?="Reason for Kline"
- .&Address Kline:kline add $address($$1,3) $$?="Reason for Kline"
- .-
- .&Host Globals
- ..&Global Host Notice:ghost $address($$1,2) $$?="Notice"
- ..&Global Host Message:ghostm $address($$1,2) $$?="Message"
- ..&Global Host Action:ghostme $address($$1,2) $$?="Action"
- .-
- .SAmode
- ..SAop:saop $1-
- ..SAdeop:sadeop $1-
- ..SAmode:samode $$?="Channel [nick] mode"
- .Omode
- ..Oop:saop $1-
- ..Odeop:sadeop $1-
- ..Omode:samode $$?="Channel [nick] mode"
- }
- alias mkill {
- if ($1 == $null) { set %mkilladdy $$?="Host to kill" | set %mkillreason $?="(Optional) Reason:" }
- else { set %mkilladdy $1 }
- set %mkilladdy2 %mkilladdy
- if (%mkilladdy == * || %mkilladdy == *.* || %mkilladdy == *@* || %mkilladdy == . || %mkilladdy == **) { echo $+ $clr(info) $+ *** Security Alert! Unable to Mass-Kill the whole network! | halt }
- .enable #MKILL
- set %mkillcount 0
- set %mkillreason $+ $clr(quit) $+ $+ $2- $+ $chr(91) $+ Mass-Kill of %mkilladdy $+ $chr(93)
- echo $+ $clr(info) $+ *** Starting Mass-Kill of: %mkilladdy2
- set %mkilladdy * $+ $gethost(%mkilladdy) $+ *
- .who %mkilladdy
- }
- #mkill off
- raw 352:* {
- if ($6 == $me) { halt }
- if (%mkilladdy iswm $3 $+ @ $+ $4) {
- kill $6 %mkillreason
- inc %mkillcount
- }
- halt
- }
- raw 315:* {
- echo -a $+ $clr(info) $+ *** Mass-Kill of %mkilladdy2 complete ( $+ %mkillcount users killed)
- .disable #MKILL
- unset %mkillcount
- unset %mkilladdy
- unset %mkilladdy2
- unset %mkillreason
- halt
- }
- #MKILL end
-